package com.arpa.wms.domain.vo;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 预打包分配VO
 * </p>
 *
 * @author rfwang
 * @since 2021年7月5日
 */
@Data
@ApiModel(value = "PrepackagedDistributionVO对象", description = "预打包分配")
public class PrepackagedDistributionVO extends BasicEntity implements Serializable {

    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "预打包计划号")
    private String prepackagedCode;

    @ApiModelProperty(value = "预打包明细标识")
    private String prepackagedItemCode;

    @ApiModelProperty(value = "临时库存标识")
    private String inventoryCode;

    @ApiModelProperty(value = "原库存标识")
    private String oldInventoryCode;

    @ApiModelProperty(value = "库位")
    private String location;

    @ApiModelProperty(value = "机构组织")
    private String groupCode;

    @ApiModelProperty(value = "原库位号，用于作业中库存返还时操作；")
    private String oldLocation;

    @ApiModelProperty(value = "分配数量")
    private BigDecimal distributionQuantity;

    @ApiModelProperty(value = "拣货数量")
    private BigDecimal pickingQuantity;

    @ApiModelProperty(value = "拣货缺货数量")
    private BigDecimal pickStockOutNum;

    @ApiModelProperty(value = "分配状态，0-已分配，1-已取消，2-已作废")
    private Boolean distributionStatus;

    @ApiModelProperty(value = "库存状态")
    private String goodsStatusName;

    @ApiModelProperty(value = "生产日期")
    private LocalDateTime gmtManufacture;

    @ApiModelProperty(value = "过期日期")
    private LocalDateTime gmtExpire;

    @ApiModelProperty(value = "存货日期")
    private LocalDateTime gmtStock;

    @ApiModelProperty(value = "库存批次")
    private String lot;

    @ApiModelProperty(value = "收货批次")
    private String receiveLot;

    @ApiModelProperty(value = "序列号")
    private String serialNumber;

    @ApiModelProperty(value = "供应商")
    private String supplier;

    @ApiModelProperty(value = "扩展1")
    private String extendOne;

    @ApiModelProperty(value = "扩展2")
    private String extendTwo;

    @ApiModelProperty(value = "扩展3")
    private BigDecimal extendThree;

    @ApiModelProperty(value = "扩展4")
    private BigDecimal extendFour;

    @ApiModelProperty(value = "扩展5")
    private LocalDateTime extendFive;

    @ApiModelProperty(value = "扩展6")
    private LocalDateTime extendSix;

    @ApiModelProperty(value = "锁定状态，0-不锁，1-锁")
    private Integer lock;

    @ApiModelProperty(value = "容器号")
    private String containerBarCode;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "拣货单号")
    private String pickingCode;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "单位名称")
    private String goodsUnitName;

    @ApiModelProperty(value = "商品规格")
    private String spec;

}
